#ifndef SUPPLIERCONTROLLER_H
#define SUPPLIERCONTROLLER_H

#include <QtCore>
#include "core/basecontroller.h"
#include "core/suppliermodel.h"

class SupplierController : public BaseController
{
Q_OBJECT
public:
    explicit SupplierController(QObject *parent = 0);
    QList<BaseModel *> getAll();
	SupplierModel *getSupplierById(int id);
	void addSupplier (SupplierModel *supplier);
	void updateSupplier (SupplierModel *supplier);
        SupplierModel *getSupplierByName(QString supplierName);
	int getSupplierId(SupplierModel *supplier);

signals:

public slots:

};

#endif // SUPPLIERCONTROLLER_H
